function All{
    "All Values: $input"
    # 这就是input只能输入一次
    "Access Again: $input"
    $input.Reset()
    # 重置了就有了
    "After Reset: $input"
    $input.MoveNext() | Out-Null
    "After MoveNext: $input"
}

"one","two","three" | All